<?php namespace JiwaNala\Entitas\Inti;

use Eloquent;

class Akun extends Eloquent implements \Illuminate\Auth\UserInterface{
	protected $table = 'Akun';
	protected $guarded = array('*');
	public $timestamps = false;
	
	/**
	 * Get the unique identifier for the user.
	 *
	 * @return mixed
	 */
	public function getAuthIdentifier(){
		return $this->getKey();
	}

	/**
	 * Get the password for the user.
	 *
	 * @return string
	 */
	public function getAuthPassword(){
		return $this->sandi;
	}
}